package com.koron.order.repair.mapper;

import com.koron.order.repair.bean.entity.RepairItemParamsPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (RepairItemParams)表数据库访问层
 *
 * @author zhouj
 * @since 2021-09-23 16:00:00
 */
public interface RepairItemParamsMapper {

    RepairItemParamsPo queryById(String id);

    List<RepairItemParamsPo> queryList(RepairItemParamsPo repairItemParams);

    int insert(RepairItemParamsPo repairItemParams);

    int update(RepairItemParamsPo repairItemParams);

    int deleteById(String id);

    int insertBatch(@Param("list") List<RepairItemParamsPo> repairItemParams);

    int deleteByItemId(String itemId);

    int deleteByRepairEquipmentId(String repairEquipId);

    int deleteByRepairId(String repairId);
}